<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../static/img/favicon.ico">
    <title>公众号管理平台</title>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/signin.css" rel="stylesheet">
    <!--[if lt IE 9]><script src="/static/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/static/js/ie-emulation-modes-warning.js"></script>
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="container">
        <div class="masthead">
            <div class="inner">
              <h3 class="masthead-brand">公众号管理平台</h3>
            </div>
		</div>
        {% if form.errors %}
            {% if form.errors.verifyerror %}
            <div class="alert alert-danger text-center">{{ form.errors.verifyerror }}</div>
                {% else %}
                <div class="alert alert-danger text-center">账号或密码错误</div>
                {% endif %}
        {% endif %}
      <form class="form-signin" role="form" action="" method="post" id="login-form">
          {% csrf_token %}
        <h2 class="form-signin-heading">Please sign in</h2>
        <input type="text" id="username" name="username" class="form-control" placeholder="username" required autofocus>
        <input type="password" id="password" name="password" class="form-control" placeholder="Password" required>
        <input type="text" id="verfiycode" name="captcha_input" class="form-control-yz" placeholder="验证码" required><a href="#" id="get_code_img"><img id='imgCode' src='/accounts/verify/code/' class="imgyz" title='点击更新' /></a>
        <div class="checkbox">
          <label>
            <input type="checkbox" value="remember-me"> 记住我
          </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit"> 登 录</button>
        <input type="hidden" name="next" value="{{ next|escape }}" />
      </form>

      <div class="mastfoot">
        <div class="inner">
          <p><a href="#" target="_blank">WW</a> &copy; 2016. All rights reserved. </p>
        </div>
      </div>
    </div>
    <script src="/static/js/ie10-viewport-bug-workaround.js"></script>
        <script src="/static/js/jquery-1.10.2.js"></script>
      <script src="/static/js/ww.js"></script>
  </body>
</html>